//
//  String+i18n.swift
//  LEDSMART
//
//  Created by zj on 2022/9/28.
//  Copyright © 2022 LXF. All rights reserved.
//

import Foundation



public extension URL{
    
    func xx_path()->String{
        var url = ""
        pathComponents.forEach { index, comp in
            if comp != "/" {
                url.append("/")
                url.append(comp)
            }
        }
        return url
    }
}
 
